package com.xmfh.wemedia.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class VideoDTO {

    private Integer id;
    private Integer resourceId;
    private final String flag = "video";
    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime pubTime;
}
